package org.zju.moviemotion;

import android.app.Application;
import android.content.Context;

public class MovieAplication extends Application {
	private static final String TAG_CACHE = "MovieAplication";
	private static MovieAplication app;
	public static Context applicationContext;
	private static int color;

	public int getColor() {
		return this.color;
	}

	public void setColor(int _color) {
		this.color = _color;
	}

	private static String motion="happy";

	public String getMotion() {
		return this.motion;
	}

	public void setMotion(String _motion) {
		this.motion = _motion;
	}

	public static MovieAplication getInstance() {
		if (app == null) {
			app = new MovieAplication();
		}
		return app;
	}

	private static int age;

	public int getAge() {
		return this.age;
	}

	public void setAge(int _age) {
		this.age = _age;
	}

	@Override
	public void onCreate() {
		super.onCreate();

		applicationContext = this;
		app = MovieAplication.this;
	}
}